package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.domain.db.Announcement;

public interface MessagesApi {

    public IPage<Announcement> findAnnouncements(Integer page, Integer pagesize);

    void updateById(Announcement announcement);

    void save(Announcement announcement);

    void delete(Long id);
}
